import {http} from '../http';
const  _HTTP= new http();

// 获取单篇文章接口
export const article = function (data) {
    return _HTTP.request({
        method: 'GET',
        url: "/news_get",
        data: data,
    })
}

// 获取文章列表接口-无分页
export const articleList = function (data) {
    return _HTTP.request({
        method: 'GET',
        url: "/news_list",
        data: data,
    })
}

// 获取单篇文章接口
export const articlePageList = function (data) {
    return _HTTP.request({
        method: 'GET',
        url: "/news_listpage",
        data: data,
    })
}

